package com.lyh.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 车票实体类
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Ticket implements Serializable {

    private int orderId;
    private String realname;
    private String identify;
    private String seatType;
    private int seatNo;
    private double price;

    private int trainId;
    private int viaId;

    private Date purchaseTime;
    private String fromStation;
    private String toStation;
    private String arrivalTime;
    private String departureTime;
    private String duration;
    private String date;//该列车的日期
    private int paidStatus;//支付状态

    //下面这两个是后面需要补充的
    private String phone;
    private String tradeCode;//交易码




}
